home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3guimod.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_GUIMODEL_H = 1;
- include("oops/r3model.js")
-
-
- var R3CLID_GUIMODEL = 1213;
-
-
-
-
- // Description: Install GUI manager. Gui managers are instanced with * gui model and plug-in functionality such
- // as GUI saving * loading.
- // Returns: Boolean, TRUE if succeeded
- // p1: Integer, widget class to be managed
- // p3: Integer, manager class for the widget.
-
- R3GUIMODELCM_INSTALLMANAGER = 1213000;
-
- function mR3GUIMODELCM_INSTALLMANAGER(p1, p3) {
- return DoA2(this.r3obj, 1213000, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Find manager for the given widget.
- // Virtual method
- // Returns: Object, manager, if found
- // p3: Integer, class id of the widget
-
- R3GUIMODELM_FINDMANAGER = 1213001;
-
- function mR3GUIMODELM_FINDMANAGER(p3) {
- return R3ToJS( DoA(this.r3obj, 1213001, p3, R3TID_INTEGER, 0));
- }
-
-
-
-
- R3GUIMODELA_CurrentObject = 1213500;
- function SetR3GUIMODELA_CurrentObject(value) {
- R3Set(this.r3obj, R3GUIMODELA_CurrentObject, value, R3TID_OBJECT, 0);
- }
-
- function GetR3GUIMODELA_CurrentObject() {
- return R3ToJS(R3Get(this.r3obj, R3GUIMODELA_CurrentObject, R3TID_OBJECT, 0));
- }
-
- R3GUIMODELA_CurrentGManager = 1213501;
- function SetR3GUIMODELA_CurrentGManager(value) {
- R3Set(this.r3obj, R3GUIMODELA_CurrentGManager, value, R3TID_OBJECT, 0);
- }
-
- function GetR3GUIMODELA_CurrentGManager() {
- return R3ToJS(R3Get(this.r3obj, R3GUIMODELA_CurrentGManager, R3TID_OBJECT, 0));
- }
-
- R3GUIMODELA_RootObject = 1213502;
- function SetR3GUIMODELA_RootObject(value) {
- R3Set(this.r3obj, R3GUIMODELA_RootObject, value, R3TID_OBJECT, 0);
- }
-
- function GetR3GUIMODELA_RootObject() {
- return R3ToJS(R3Get(this.r3obj, R3GUIMODELA_RootObject, R3TID_OBJECT, 0));
- }
-
- R3GUIMODELA_Edit = 1213503;
- function SetR3GUIMODELA_Edit(value) {
- R3Set(this.r3obj, R3GUIMODELA_Edit, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3GUIMODELA_Edit() {
- return R3Get(this.r3obj, R3GUIMODELA_Edit, R3TID_BOOLEAN, 0);
- }
-
-
-
- function r3Guimodel () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_GUIMODEL, arguments);
- }
- // Methods
- this.INSTALLMANAGER=mR3GUIMODELCM_INSTALLMANAGER;
- this.FINDMANAGER=mR3GUIMODELM_FINDMANAGER;
-
- // Attributes
- this.GetCurrentObject=GetR3GUIMODELA_CurrentObject;
- this.SetCurrentObject=SetR3GUIMODELA_CurrentObject;
- this.GetCurrentGManager=GetR3GUIMODELA_CurrentGManager;
- this.SetCurrentGManager=SetR3GUIMODELA_CurrentGManager;
- this.GetRootObject=GetR3GUIMODELA_RootObject;
- this.SetRootObject=SetR3GUIMODELA_RootObject;
- this.GetEdit=GetR3GUIMODELA_Edit;
- this.SetEdit=SetR3GUIMODELA_Edit;
- }
-
- r3Guimodel.prototype=new r3Model;
- // r3guimod.h_H